export function getElementProperty(cssSelect, propertyName) {
    try {
        const element = document.querySelector(cssSelect);

        return element[propertyName];
    } catch (error) {
        console.error(`[get element info error] cssSelect: ${cssSelect}, propertyName: ${propertyName}.\n`, error);
        return null;
    }
}
